home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alles Voor Internet / Tout Pour Internet
/
alles voor internet.iso
/
MacInternet™
/
Telnet
/
5PM PowerMac
/
5PM_Term_PPC.sea
/
Palettes Folder
/
Capture
/
Capture Recorder.rsrc
/
BTXT_5
< prev
next >
Wrap
Text File
|
1994-03-15
|
623b
|
23 lines
On mouseUp
Get btn "fName"
Put empty into path
Repeat with i = the number of chars in it down to 1
If char i of it is ":" then
Put char 1 to i of it into path
Get char (i + 1) to (the number of chars in it) of it
Exit Repeat
End If
End Repeat
Put it into oldName
Ask "Rename capture file as :" with oldName
If it is not empty then
Get replaceChars (it, ":", "-")
If it <> oldName then
Capture2 "Rename", path & oldName, path & it
If the result is not empty then
Put path & it into btn "fName"
End If
End If
End If
Get RsrcData (btn "fName", "tfig", 128, btn "tmConfig")
End mouseUp